package com.example;

public class MathTest {
    public static void main(String[] args) {
        MathTest mathTest = new MathTest();
        mathTest.testMath();
    }

    void testMath() {
        System.out.println("Math.abs(-10) = " + Math.abs(-10));
        System.out.println("Math.max(10, 20) = " + Math.max(10, 20));
        System.out.println("Math.min(10, 20) = " + Math.min(10, 20));
        System.out.println("Math.random() = " + Math.random());
        System.out.println("Math.round(10.5) = " + Math.round(10.5));
        System.out.println("Math.sqrt(10) = " + Math.sqrt(10));
        System.out.println("Math.pow(2, 3) = " + Math.pow(2, 3));
        System.out.println("Math.ceil(10.5) = " + Math.ceil(10.5));
        System.out.println("Math.floor(10.5) = " + Math.floor(10.5));
        System.out.println("Math.sin(Math.PI/2) = " + Math.sin(Math.PI/2));
        System.out.println("Math.cos(Math.PI/2) = " + Math.cos(Math.PI/2));
        System.out.println("Math.tan(Math.PI/2) = " + Math.tan(Math.PI/2));
        

    }
}
